package net.qiqb.usr.customer.adapter.web.req;

import lombok.Data;
import net.qiqb.usr.custom.client.types.CustomerId;
import net.qiqb.usr.customer.application.ChangeCustomNameCmd;
import net.qiqb.usr.customer.application.ChangeCustomNicknameCmd;

@Data
public class ChangeCustomNicknameReq {
    /**
     * 待修改的客户id
     */
    private String name;
    /**
     * 名称
     */
    private String nickname;


    public ChangeCustomNicknameCmd generateChangeCustomNameCmd() {


        return new ChangeCustomNicknameCmd(name, nickname);
    }
}
